home *** CD-ROM | disk | FTP | other *** search
- Path: doc.ic.ac.uk!not-for-mail
- From: njs3@doc.ic.ac.uk (Niall Smart)
- Newsgroups: comp.lang.c
- Subject: Re: C coding standards
- Date: 18 Mar 1996 19:37:03 -0000
- Organization: Dept. of Computing, Imperial College, University of London, UK.
- Distribution: world
- Message-ID: <4ike0v$f5t@oak73.doc.ic.ac.uk>
- References: <313B4548.45AA@oc.com> <DnuLzM.8xr@gti-ia.nl>
- Reply-To: njs3@doc.ic.ac.uk (Niall Smart)
- NNTP-Posting-Host: oak73.doc.ic.ac.uk
- X-Newsreader: mxrn 6.18-23
-
-
- In article <DnuLzM.8xr@gti-ia.nl>, paulw@gti-ia.nl (Paul Wallis) writes:
- |>Teresa Reiko wrote:
- |>> In this book and others, notably 'Code Complete', these programming
- |>> guides published by Microsoft Press, it is evident why Microsoft put
- |>> so many bugs in Windows 95. Here are the three worst Microsoft
- |>> coding rules, in my opinion at least:
- |>>
- |>> Every line of code must contain a comment.
- |>> Any number greater than 2 must be a named constant.
- |>> No procedure may be longer than 25 lines.
- |>>
-
- |>I am sorry, but I feel compelled to answer this, even though the debate does NOT
- |>belong in this newsgroup. I believe IMHO that you have maligned an excellent book.
- |>I have read this book cover to cover and agreed with 90% of what the author says.
- |>And before you go on to 'slate' me, I think you aught to re-read the book and actually
- |>look at what is said.
-
- I would have to agree with this last sentiment, the first and third points
- you made were absolutely incorrect and if you take the time to read the
- relevant chapter again you will see that these were not the conclusions the
- author drew. There are a few ideas in Code Complete that I do not agree
- with, and I would even say the book is far too bloated with irrelavancy,
- but nonetheless the points you made were incorrect.
-
- Niall Smart
- njs3@doc.ic.ac.uk
- Imperial College, London
-
-